package com.chhuang.system.service;

import java.util.List;

import com.chhuang.core.service.IBaseService;
import com.chhuang.system.mapper.ChRoleMapper;
import com.chhuang.system.po.ChRole;

/**
* ChRole IService
* @author ChHuang
* @date Fri Mar 03 13:08:17 CST 2017
*/
public interface IChRoleService extends IBaseService<ChRoleMapper, ChRole> {
	
	/**
	 * 查找所有的角色
	 * @return
	 */
	public List<ChRole> findAllRoles() throws Exception;
	
	/**
	 * 根据多个角色编号删除角色信息
	 * @param roleIds
	 */
	public int deleteByRoleIdArray(String[] roleIds) throws Exception;
	
	/**
	 * 根据多个角色编号查找角色信息
	 * @param roleIds
	 * @return
	 */
	public List<ChRole> findByRoleIds(String[] roleIds) throws Exception;

}